<%inherit file="/user/login.mako"/>
<% req.init_session() %>
% if req.session.has_key('user'):
<h1>Login Succeeded</h1>
<p>You are now logged in as ${req.session.user}.</p>
% else:
<% return response.redirect(c.site_uri+'/user/login') %>
% endif